#pragma once;
#include "../../std_lib_facilities.h"

struct Reading
{
	char suffix;
	int hour;
	double temperature;
	Reading(int h, double t) :hour(h), temperature(t)
	{}
};


istream& operator >> (istream& ins, Reading& r);
ostream& operator << (ostream& outs, Reading& r);

bool operator == (const Reading& r1, const Reading& r2);
bool operator != (const Reading& r1, const Reading& r2);
bool operator <  (const Reading& r1, const Reading& r2);
bool operator <= (const Reading& r1, const Reading& r2);
bool operator >= (const Reading& r1, const Reading& r2);
bool operator >  (const Reading& r1, const Reading& r2);

